//This is the server part of the socket udp.
//The first step is also to get a handle of socket

#include<stdio.h>
#include<sys/types.h>
#include<sys/socket.h>
#include<netinet/in.h>
#include<unistd.h>
#include<errno.h>
#include<string.h>
#include<stdlib.h> 
#include<arpa/inet.h>
#include"core_conf.h"

#include<pthread.h>

#include"log.h"
#include"use_hash.h"
#include"buff_queue.h"
#include"node.h"

//give a sock
int init_addr_serv(struct node Node,struct sockaddr_in *addr_serv);
int init_addr_client(struct node Node,struct sockaddr_in *addr_serv);
void * dispatch();















